Exact distance oracles for planar graphs

نویسندگان

  • Shay Mozes
  • Christian Sommer
چکیده

We present new and improved data structures that answer exact node-to-node distance queries in planar graphs. Such data structures are also known as distance oracles. For any directed planar graph on n nodes with non-negative lengths we obtain the following: • Given a desired space allocation S ∈ [n lg lgn, n], we show how to construct in Õ(S) time a data structure of size O(S) that answers distance queries in Õ(n/ √ S) time per query. The best distance oracles for planar graphs until the current work are due to Cabello (SODA 2006), Chen and Xu (STOC 2000), Djidjev (WG 1996), and Fakcharoenphol and Rao (FOCS 2001). For σ ∈ (1, 4/3) and space S = n, we essentially improve the query time from n/S to p n2/S. • As a consequence, we obtain an improvement over the fastest algorithm for k–many distances in planar graphs whenever k ∈ [ √ n, n). • We provide a linear-space exact distance oracle for planar graphs with query time O(n ) for any constant > 0. This is the first such data structure with provable sublinear query time. • For edge lengths ≥ 1, we provide an exact distance oracle of space Õ(n) such that for any pair of nodes at distance ` the query time is Õ(min{`, √ n}). Comparable query performance had been observed experimentally but could not be explained theoretically. Our data structures with superlinear space are based on the following new tool: given a non-self-crossing cycle C with c = O( √ n) nodes, we can preprocess G in Õ(n) time to produce a data structure of size O(n lg lg c) that can answer the following queries in Õ(c) time: for a query node u, output the distance from u to all the nodes of C. This data structure builds on and provides an alternative for a related data structure of Klein (SODA 2005), which reports distances to the boundary of a face, rather than a cycle.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Approximate Distance Oracles for Planar Graphs with Improved Query Time-Space Tradeoff

We consider approximate distance oracles for edge-weighted n-vertex undirected planar graphs. Given fixed ǫ > 0, we present a (1 + ǫ)-approximate distance oracle with O(n(log logn)) space and O((log logn)) query time. This improves the previous best product of query time and space of the oracles of Thorup (FOCS 2001, J. ACM 2004) and Klein (SODA 2002) from O(n log n) to O(n(log log n)).

متن کامل

More Compact Oracles for Approximate Distances in Undirected Planar Graphs

Distance oracles are data structures that provide fast (possibly approximate) answers to shortest-path and distance queries in graphs. The tradeoff between the space requirements and the query time of distance oracles is of particular interest and the main focus of this paper. Unless stated otherwise, we assume all graphs to be planar and undirected. In FOCS 2001 (J. ACM 2004), Thorup introduce...

متن کامل

More Compact Oracles for Approximate Distances in Planar Graphs

Distance oracles are data structures that provide fast (possibly approximate) answers to shortestpath and distance queries in graphs. The tradeoff between the space requirements and the query time of distance oracles is of particular interest and the main focus of this paper. In FOCS‘01, Thorup introduced approximate distance oracles for planar graphs. He proved that, for any > 0 and for any pl...

متن کامل

Better Tradeoffs for Exact Distance Oracles in Planar Graphs

We present an O(n)-space distance oracle for directed planar graphs that answers distance queries in O(logn) time. Our oracle both significantly simplifies and significantly improves the recent oracle of Cohen-Addad, Dahlgaard and Wulff-Nilsen [FOCS 2017], which uses O(n)-space and answers queries in O(logn) time. We achieve this by designing an elegant and efficient point location data structu...

متن کامل

Applications of Geometric Spanner Networks

Given a geometric graph in d-dimensional space, it is useful to preprocess it so that distance queries, exact or approximate, can be answered efficiently. Algorithms that can report distance queries in constant time are also referred to as “distance oracles”. With unlimited preprocessing time and space, it is clear that exact distance oracles can be easily designed. This entry sheds light on th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012